package com.example.jms;

import java.util.Map;

import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.springframework.stereotype.Service;
@Service
public class SendJMS {
	@Produce
	private ProducerTemplate product;
	public void send(String url,Map<String,Object> map){
		product.sendBodyAndHeaders(url, null, map);
	}

}
